package com.kreedx.book;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.HashMap;
import java.util.List;

@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
public class Book {

    private String[] author;
    private String[] publisher;
    private String isbn;
    private HashMap<String, Object> extras;

    private  List<Chapter> chapters;

}
